package com.kongfuzi.student.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * Created by cfan_yang on 2015/12/25.
 */
public class User implements Serializable {

    private static final long serialVersionUID = -8475566198540826945L;

    public User(String id, String mobile, String token, String cnumber) {
        this.id = id;
        this.mobile = mobile;
        this.token = token;
        this.cnumber = cnumber;
    }

    @SerializedName("id")
    public String id;

    @SerializedName("mobile")
    public String mobile;

    @SerializedName("token")
    public String token;

    @SerializedName("cnumber")
    public String cnumber;

    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                ", mobile='" + mobile + '\'' +
                ", token='" + token + '\'' +
                ", cnumber='" + cnumber + '\'' +
                '}';
    }
}
